﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace WebStudio.Framework.Core
{
    /// <summary>
    /// 执行结果结构
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public struct Result
    {
        private bool _IsOK;
        private int _Num;
        private int _SucceedNum;
        private int _FailNum;
        private string _Description;
        private string _SucceedDescription;
        private string _FailDescription;
        private int _StateCodeID;
        private string _ExtData;
        public bool IsOK
        {
            get
            {
                return this._IsOK;
            }
            set
            {
                this._IsOK = value;
            }
        }
        public int Num
        {
            get
            {
                return this._Num;
            }
            set
            {
                this._Num = value;
            }
        }
        public int SucceedNum
        {
            get
            {
                return this._SucceedNum;
            }
            set
            {
                this._SucceedNum = value;
            }
        }
        public int FailNum
        {
            get
            {
                return this._FailNum;
            }
            set
            {
                this._FailNum = value;
            }
        }
        public string Description
        {
            get
            {
                return this._Description;
            }
            set
            {
                this._Description = value;
            }
        }
        public string SucceedDescription
        {
            get
            {
                return this._SucceedDescription;
            }
            set
            {
                this._SucceedDescription = value;
            }
        }
        public string FailDescription
        {
            get
            {
                return this._FailDescription;
            }
            set
            {
                this._FailDescription = value;
            }
        }
        public int StateCodeID
        {
            get
            {
                return this._StateCodeID;
            }
            set
            {
                this._StateCodeID = value;
            }
        }
        public string ExtData
        {
            get
            {
                return this._ExtData;
            }
            set
            {
                this._ExtData = value;
            }
        }
    }

 

}
